package com.weixin.engine.design.factory.abstractFactory;

import com.weixin.engine.design.factory.simpleFactory.IPhone;
import com.weixin.engine.design.factory.simpleFactory.Phone;

/**
 * AppleFactory类：增加苹果PC的制造（ConcreteFactory2）
 */
public class AppleFactory implements AbstractFactory {
    @Override
    public Phone makePhone() {
        return new IPhone();
    }

    @Override
    public PC makePC() {
        return new MAC();
    }
}